package com.jaiai.work.project.entity;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 项目字典
 * </p>
 *
 * @author 佳爱网络科技
 * @since 2018-04-19
 */
@TableName("t_dictionaries")
public class TDictionaries extends Model<TDictionaries> {

    private static final long serialVersionUID = 1L;

	private Integer id;
	@TableField("project_id")
	private String projectId;
	private String name;
	private String code;
    /**
     * 父节点
     */
	private Integer parent;
    /**
     * valuer
     */
	private Integer valuer;
    /**
     * 注释
     */
	private String notes;
	@TableField("create_time")
	private Date createTime;
	@TableField("create_by")
	private String createBy;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getProjectId() {
		return projectId;
	}

	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public Integer getParent() {
		return parent;
	}

	public void setParent(Integer parent) {
		this.parent = parent;
	}

	public Integer getValuer() {
		return valuer;
	}

	public void setValuer(Integer valuer) {
		this.valuer = valuer;
	}

	public String getNotes() {
		return notes;
	}

	public void setNotes(String notes) {
		this.notes = notes;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreateBy() {
		return createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
